package com.runshu.newsmartark.entity;

import java.util.ArrayList;
import java.util.List;

/**
 * Demo class
 *
 * @author yu
 * @date 2020/10/27
 * @decs：
 */

public class PhysicaInfoEntity {

    /**
     * id : 1
     * orderNo : DD20200824001
     * orderDay : 20200824
     * orderSerial : 1
     * expNo : JD0023114735315
     * expCompanyCode : JD
     * expCompanyName : 京东物流
     * expPhone : 400-603-3600
     * expSite : www.jdwl.com
     * expLogo : https://img3.fegine.com/express/jd.jpg
     * expUpdateTime : 2020-08-20 10:33:46
     * courier :
     * courierPhone :
     * takeTime : 0天9小时3分
     * deliveryTime :
     * deliveryName :
     * deliveryPhone : 13811111111
     * deliveryStatus : 3
     * deliveryStatusLabel : 已签收
     * issign : true
     * receiveName : 测试1
     * creator :
     * createTime :
     * modificator :
     * updateTime :
     * isDelete :
     * nodes : [{"id":"","deliveryId":"","nodeTime":"2020-08-20 10:33:46","detail":"您的快件已由本人签收，感谢您使用京东物流，期待再次为您服务","nodeStatus":3,"nodeStatusLabel":"已签收"},{"id":"","deliveryId":"","nodeTime":"2020-08-20 08:37:34","detail":"您的快件正在派送中，请您准备签收（快递员：刘天骄，联系电话：18109883222）","nodeStatus":2,"nodeStatusLabel":"正在派件"},{"id":"","deliveryId":"","nodeTime":"2020-08-20 08:24:39","detail":"您的快件已到达【沈阳常胜营业部】","nodeStatus":1,"nodeStatusLabel":"在途"},{"id":"","deliveryId":"","nodeTime":"2020-08-20 08:24:38","detail":"您的快件在【沈阳常胜营业部】收货完成","nodeStatus":1,"nodeStatusLabel":"在途"},{"id":"","deliveryId":"","nodeTime":"2020-08-20 03:26:35","detail":"您的快件已发车","nodeStatus":1,"nodeStatusLabel":"在途"},{"id":"","deliveryId":"","nodeTime":"2020-08-20 01:37:55","detail":"您的快件由【沈阳浑南分拣中心】准备发往【沈阳常胜营业部】","nodeStatus":1,"nodeStatusLabel":"在途"},{"id":"","deliveryId":"","nodeTime":"2020-08-20 01:30:15","detail":"您的快件在【沈阳浑南分拣中心】分拣完成","nodeStatus":1,"nodeStatusLabel":"在途"},{"id":"","deliveryId":"","nodeTime":"2020-08-20 01:30:14","detail":"您的快件已到达【沈阳浑南分拣中心】","nodeStatus":1,"nodeStatusLabel":"在途"}]
     */

    private String id;
    private String orderNo;
    private String orderDay;
    private int orderSerial;
    private String expNo;
    private String expCompanyCode;
    private String expCompanyName;
    private String expPhone;
    private String expSite;
    private String expLogo;
    private String expUpdateTime;
    private String courier;
    private String courierPhone;
    private String takeTime;
    private String deliveryTime;
    private String deliveryName;
    private String deliveryPhone;
    private int deliveryStatus;
    private String deliveryStatusLabel;
    private boolean issign;
    private String receiveName;
    private String creator;
    private String createTime;
    private String modificator;
    private String updateTime;
    private String isDelete;
    private List<NodesBean> nodes;

    public String getId() {
        return id == null ? "" : id;
    }

    public void setId(String id) {
        this.id = id == null ? "" : id;
    }

    public String getOrderNo() {
        return orderNo == null ? "" : orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo == null ? "" : orderNo;
    }

    public String getOrderDay() {
        return orderDay == null ? "" : orderDay;
    }

    public void setOrderDay(String orderDay) {
        this.orderDay = orderDay == null ? "" : orderDay;
    }

    public int getOrderSerial() {
        return orderSerial;
    }

    public void setOrderSerial(int orderSerial) {
        this.orderSerial = orderSerial;
    }

    public String getExpNo() {
        return expNo == null ? "" : expNo;
    }

    public void setExpNo(String expNo) {
        this.expNo = expNo == null ? "" : expNo;
    }

    public String getExpCompanyCode() {
        return expCompanyCode == null ? "" : expCompanyCode;
    }

    public void setExpCompanyCode(String expCompanyCode) {
        this.expCompanyCode = expCompanyCode == null ? "" : expCompanyCode;
    }

    public String getExpCompanyName() {
        return expCompanyName == null ? "" : expCompanyName;
    }

    public void setExpCompanyName(String expCompanyName) {
        this.expCompanyName = expCompanyName == null ? "" : expCompanyName;
    }

    public String getExpPhone() {
        return expPhone == null ? "" : expPhone;
    }

    public void setExpPhone(String expPhone) {
        this.expPhone = expPhone == null ? "" : expPhone;
    }

    public String getExpSite() {
        return expSite == null ? "" : expSite;
    }

    public void setExpSite(String expSite) {
        this.expSite = expSite == null ? "" : expSite;
    }

    public String getExpLogo() {
        return expLogo == null ? "" : expLogo;
    }

    public void setExpLogo(String expLogo) {
        this.expLogo = expLogo == null ? "" : expLogo;
    }

    public String getExpUpdateTime() {
        return expUpdateTime == null ? "" : expUpdateTime;
    }

    public void setExpUpdateTime(String expUpdateTime) {
        this.expUpdateTime = expUpdateTime == null ? "" : expUpdateTime;
    }

    public String getCourier() {
        return courier == null ? "" : courier;
    }

    public void setCourier(String courier) {
        this.courier = courier == null ? "" : courier;
    }

    public String getCourierPhone() {
        return courierPhone == null ? "" : courierPhone;
    }

    public void setCourierPhone(String courierPhone) {
        this.courierPhone = courierPhone == null ? "" : courierPhone;
    }

    public String getTakeTime() {
        return takeTime == null ? "" : takeTime;
    }

    public void setTakeTime(String takeTime) {
        this.takeTime = takeTime == null ? "" : takeTime;
    }

    public String getDeliveryTime() {
        return deliveryTime == null ? "" : deliveryTime;
    }

    public void setDeliveryTime(String deliveryTime) {
        this.deliveryTime = deliveryTime == null ? "" : deliveryTime;
    }

    public String getDeliveryName() {
        return deliveryName == null ? "" : deliveryName;
    }

    public void setDeliveryName(String deliveryName) {
        this.deliveryName = deliveryName == null ? "" : deliveryName;
    }

    public String getDeliveryPhone() {
        return deliveryPhone == null ? "" : deliveryPhone;
    }

    public void setDeliveryPhone(String deliveryPhone) {
        this.deliveryPhone = deliveryPhone == null ? "" : deliveryPhone;
    }

    public int getDeliveryStatus() {
        return deliveryStatus;
    }

    public void setDeliveryStatus(int deliveryStatus) {
        this.deliveryStatus = deliveryStatus;
    }

    public String getDeliveryStatusLabel() {
        return deliveryStatusLabel == null ? "" : deliveryStatusLabel;
    }

    public void setDeliveryStatusLabel(String deliveryStatusLabel) {
        this.deliveryStatusLabel = deliveryStatusLabel == null ? "" : deliveryStatusLabel;
    }

    public boolean issign() {
        return issign;
    }

    public void setIssign(boolean issign) {
        this.issign = issign;
    }

    public String getReceiveName() {
        return receiveName == null ? "" : receiveName;
    }

    public void setReceiveName(String receiveName) {
        this.receiveName = receiveName == null ? "" : receiveName;
    }

    public String getCreator() {
        return creator == null ? "" : creator;
    }

    public void setCreator(String creator) {
        this.creator = creator == null ? "" : creator;
    }

    public String getCreateTime() {
        return createTime == null ? "" : createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? "" : createTime;
    }

    public String getModificator() {
        return modificator == null ? "" : modificator;
    }

    public void setModificator(String modificator) {
        this.modificator = modificator == null ? "" : modificator;
    }

    public String getUpdateTime() {
        return updateTime == null ? "" : updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime == null ? "" : updateTime;
    }

    public String getIsDelete() {
        return isDelete == null ? "" : isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete == null ? "" : isDelete;
    }

    public List<NodesBean> getNodes() {
        if (nodes == null) {
            return new ArrayList<>();
        }
        return nodes;
    }

    public void setNodes(List<NodesBean> nodes) {
        this.nodes = nodes;
    }

    public static class NodesBean {
        /**
         * id :
         * deliveryId :
         * nodeTime : 2020-08-20 10:33:46
         * detail : 您的快件已由本人签收，感谢您使用京东物流，期待再次为您服务
         * nodeStatus : 3
         * nodeStatusLabel : 已签收
         */

        private String id;
        private String deliveryId;
        private String nodeTime;
        private String detail;
        private int nodeStatus;
        private String nodeStatusLabel;

        public String getId() {
            return id == null ? "" : id;
        }

        public void setId(String id) {
            this.id = id == null ? "" : id;
        }

        public String getDeliveryId() {
            return deliveryId == null ? "" : deliveryId;
        }

        public void setDeliveryId(String deliveryId) {
            this.deliveryId = deliveryId == null ? "" : deliveryId;
        }

        public String getNodeTime() {
            return nodeTime == null ? "" : nodeTime;
        }

        public void setNodeTime(String nodeTime) {
            this.nodeTime = nodeTime == null ? "" : nodeTime;
        }

        public String getDetail() {
            return detail == null ? "" : detail;
        }

        public void setDetail(String detail) {
            this.detail = detail == null ? "" : detail;
        }

        public int getNodeStatus() {
            return nodeStatus;
        }

        public void setNodeStatus(int nodeStatus) {
            this.nodeStatus = nodeStatus;
        }

        public String getNodeStatusLabel() {
            return nodeStatusLabel == null ? "" : nodeStatusLabel;
        }

        public void setNodeStatusLabel(String nodeStatusLabel) {
            this.nodeStatusLabel = nodeStatusLabel == null ? "" : nodeStatusLabel;
        }
    }
}